package io.renren.modules.communityService.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.renren.common.utils.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 一键报警
 *
 * @author chenweilong
 * @email 1433471850@qq.com
 * @date 2021-03-21 13:45:49
 */
@Data
@TableName("db_one_click_alarm")
@ApiModel("一键报警")
@Accessors(chain = true)
public class DbOneClickAlarmDTO extends PageParam implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(required=false,value="id")
	private Integer id;
	/**
	 * 用户id
	 */
	@ApiModelProperty(required=false,value="用户id")
	private Integer userId;
	/**
	 * 用户昵称
	 */
	@ApiModelProperty(required=false,value="用户昵称")
	private String userNickname;
	/**
	 * 报警地址
	 */
	@ApiModelProperty(required=false,value="报警地址")
	private String alarmAddress;
	/**
	 * 经度
	 */
	@ApiModelProperty(required=false,value="经度")
	private String longitude;
	/**
	 * 纬度
	 */
	@ApiModelProperty(required=false,value="纬度")
	private String latitude;
	/**
	 * 报警状态
	 */
	@ApiModelProperty(required=false,value="报警状态")
	private Integer status;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(required=false,value="创建时间")
	private Date createdAt;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(required=false,value="修改时间")
	private Date updatedAt;

}
